package com.allwees.bs.c.module.app.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Daniel
 * @version 1.0.0
 * @since 2020/12/7 17:34
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "site.info")
public class SiteInfoProperties {

    private Site us;
    private Site ae;
    private Site sa;

    @Data
    public static class Site{
        private String host;
        private String cdn;
        private String abbr;
        private String symbol;
    }
}
